Description: 常用加密解密算法,如des等,java语言实现-Commonly used encryption and decryption algorithms, such as des, etc., java language Platform: |
Size: 50176 |
Author:hexinlong |
Hits:
Description: 很强的JAVA加密、解密算法源码,一共有6种算法可供选择,另外还可以直接生成ZIP压缩文件。
-JAVA strong encryption, decryption algorithm source code, a total of 6 kinds of algorithms are available, in addition to ZIP compressed files can be generated directly. Platform: |
Size: 27648 |
Author:钮燕佳 |
Hits:
Description: 通过java jdk6所提供的api设计的一个通信过程的加密与解密。其中有两个十分常用的算法:des+rsa-Provided by java jdk6 api design of a communication process of encryption and decryption. Two very commonly used algorithms: des+ rsa Platform: |
Size: 2850816 |
Author:liyu |
Hits:
Description: java实现mac加密各种算法,有des和HmacSHA1还有MD5-mac encryption various algorithms, des and HmacSHA1 of there MD5 Platform: |
Size: 2048 |
Author:zhujing |
Hits:
Description: 在做跨平台或跨系统加密,经常需要用到JAVA编写和VC++来编写加密模块,因为算法不同导致相互加密的文件不能互相解密,一直困扰自己,后来经过既懂算法又懂JAVA和VC的高手才完成此模块。-Do cross-platform, cross-system encryption, it is often necessary to use JAVA writing and VC++ of to write encryption module, because the algorithm is different from each other encrypted files can not be mutually decryption, has been plagued by its own, and later after both algorithms and understand the master of JAVA and VC to complete this module. Platform: |
Size: 91136 |
Author:zjm |
Hits:
Description: Java环境下的DES加密解密算法,简单易懂,可以直接使用-DES encryption and decryption algorithms in the Java environment, simple and easy to understand, and can be used directly Platform: |
Size: 5120 |
Author:zengdanqi |
Hits:
Description: java 3DES加密解密 案例 完整源代码 MAC9.9算法 可以根据自己需要进行修改 -java 3DES encryption and decryption algorithms MAC9.9 case complete source code can be modified according to their needs Platform: |
Size: 21504 |
Author:呙垒西 |
Hits:
Description: 用java语言来实现DES算法的加密与解密-Using java language to implement DES encryption and decryption algorithms Platform: |
Size: 10240 |
Author:爱阿信 |
Hits:
Description: 实习三 基于RSA的公钥加密
一、实习目的
1、 理解公钥密码算法,熟悉常有的密码算法:RSA、椭圆曲线密码体制
2、 以RSA加密算法为例,掌握公钥密码算法加解密过程的实现。
二、实习内容
以RSA为例,利用java中的相关类实现对指定字符串的加解密。
1、 生成公钥密钥对
(1)利用java中的KeypairGenerator类创建公钥密钥对,利用KeypairGenerator的静态方法getInstance()获得KeypairGenerator类型的对象,所需参数为加密算法的名称RSA。
KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA")
(2)利用KeyPairGenerator类的genKeyPair()方法返回生成的密钥对:
KeyPair kp = kpg.genKeyPair()
(3)返回此密钥对的公钥组件的引用和私钥组件的引用
PublicKey pbkey = kp.getPublic()
PrivateKey prkey = kp.getPrivate()
(4)将生成的公钥写入文件Skey_RSA_pub.dat
FileOutputStream f1 = new FileOutputStream("Skey_RSA_pub.dat")
ObjectOutputStream b1 = new ObjectOutputStream(f1)
b1.writeObject(pbkey)
用同样的方法将私钥写入文件Skey_RSA_pri.dat
-Internship RSA public key encryption based on three
An internship purpose
An understanding of public key cryptography algorithm, familiar with common cryptographic algorithms: RSA, elliptic curve cryptography
2, RSA encryption algorithm, for example, public key cryptography algorithm to achieve master encryption and decryption process.
Second, the practical content
In RSA, for example, the use of java in the relevant class implements the specified string encryption and decryption.
1, generates a public key pair
(1) the use of java class in KeypairGenerator create a public key pair using KeypairGenerator static method getInstance () to get the object KeypairGenerator type parameters required for the encryption algorithm name RSA.
KeyPairGenerator kpg = KeyPairGenerator.getInstance ("RSA")
(2) the use of genKeyPair KeyPairGenerator class () method returns the generated key pair:
KeyPair kp = kpg.genKeyPair ()
References (3) Returns the public key component of this key an Platform: |
Size: 2048 |
Author:杨平 |
Hits:
Description: 实习三 基于RSA的公钥加密
一、实习目的
1.理解公钥密码算法,熟悉常用密码算法:RSA、椭圆曲线密码体制;
2.以RSA加密算法为例,掌握公钥密码算法加解密过程的实现。
二、实现要求
1.实习前认真预习第6章的有关内容;
2.熟悉java中java.security.*和java.crypto.* 中相关类。
三、实习内容
-Practice three based on the RSA public key encryption
一、实习目的
One, the purpose of internship
1.理解公钥密码算法,熟悉常用密码算法:RSA、椭圆曲线密码体制;
1 understand the public key cryptography, familiar with the commonly used cryptographic algorithms: RSA, elliptic curve cryptosystem
2.以RSA加密算法为例,掌握公钥密码算法加解密过程的实现。
2 to the RSA encryption algorithm as an example, to grasp the implementation of public key cryptography algorithm encryption and decryption process.
二、实现要求
Two, the implementation requirements
1.实习前认真预习第6章的有关内容;
1 practice about the content of the sixth chapter carefully before the preview
2.熟悉java中java.security.*和java.crypto.* 中相关类。
2 familiar with the relevant class of java.security.* and java.crypto.* in java.
三、实习内容
Three, practice content
Platform: |
Size: 6144 |
Author:leon |
Hits:
Description: 本程序用java实现基本的非对称加密解密算法(RSA),经实验,可用!-The program implements a basic asymmetric encryption and decryption algorithms (RSA) with java, the experiment can be used! Platform: |
Size: 8192 |
Author:陈佳悦 |
Hits: